package com.lingyun.mqttserver.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataSchemaAddDTO {
    private Integer deviceId;
    private String dataName;
    private String dataType;
    private String unit;
    private String topic;        // 对应实体类的 data 字段
    private Integer collectionFrequency;
    private Integer isCollected;
    private String info;         // 实体类中没有这个字段，可能需要存储到其他地方
}